<?php

namespace plugin\laoha\app\model;

use Illuminate\Database\Eloquent\Relations\MorphTo;

class AttachUrl extends Base
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'ha_attach_urls';


    protected $fillable = ['root','root_id','root_type','url'];

	const UPDATED_AT = null;
	const CREATED_AT = null;    

    /**
     * 获取父级 模型
     */
    public function root() : MorphTo
    {
        return $this->morphTo();
    }

}
